﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Business;

namespace TimeWork
{
    public partial class Create : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnCreate_Click(object sender, EventArgs e)
        {
            if (BuMain.createDatabase(Server.MapPath("~") + "\\tmp\\SQL_ISS.DAT","2"))
            {
                lblNotice.Text = "Success";
            }
            else
            {
                lblNotice.Text = "Fail";
            }
        }
    }
}